package com.ruoyi.radar.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName radar_warn_message
 */
@TableName(value ="radar_warn_message")
@Data
public class RadarWarnMessage implements Serializable {
    /**
     * 报警，通过radar_warn表设置仓，字段，阈值，于前端通过设置字典来获取 字段 对应名称
     */
    @TableId(value = "warn_message_id")
    private String warnMessageId;

    /**
     * 可以拿到报警仓号，字段，阈值
     */
    @TableField(value = "warn_id")
    private String warnId;

    /**
     * 造成报警的值
     */
    @TableField(value = "warn_result_value")
    private String warnResultValue;

    /**
     * 报警时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private String warnColumn;

    @TableField(exist = false)
    private String warnValue;

    @TableField(exist = false)
    private String siloStockName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
